<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="no-cache" http-equiv="Cache-Control">
    <title>源之东方</title>
    <link href="__STATIC__/css/shopin.css" rel="stylesheet"/>
    <link href="__STATIC__/css/swiper.css" rel="stylesheet"/>
</head>

<body>
<div class="m-user flex">
    <!-- //用户头像、用户名称取微信头像用户名即可 -->
    <div class="img"><img src="{$userInfo.icon}"></div>
    <div class="info cell">
        <p class="name">{$userInfo.username}{if condition = "$userInfo.is_vip"}<img src="__STATIC__/images_old/img/vvip.jpg" style="height:20px;">{else /}<a href="/member"><img src="__STATIC__/images_old/img/vip.jpg" style="height:14px;"></a>{/if}</p>
        <p class="phone">{$userInfo.mobile}</p>
    </div>
    <div class="int" style="cursor:pointer;">用户余额：{$userInfo.balance} 元</br><a href="/tix_list" title="">(点击可提现)</a></div>
</div><!-- 用户信息结束 -->

<div class="m-os flex">
    <a class="cell waitPay" href="/unpaid">待支付</a>
    
    <a class="cell allOrder" href="/order/state/1">待发货<button>{$num['ready']}</button></a>
    
    <a class="cell waitConfirm" href="/order/state/2">配送中<button>{$num['ing']}</button></a>
    
    <a class="cell waitPickup" href="/order/state/3">已收货<button>{$num['ok']}</button></a>
    
</div><!-- //订单状态列表 -->

<div class="table-view vip-list">
    <ul>
        <li><a class="v3" href="/mycode">我的邀请码</a></li>
        <li><a class="v1" href="/myself/Coupon">我的优惠券</a></li>
        <li><a class="v2" href="/integral/0">我的积分</a></li>
    </ul>
    <!--<ul>-->
        <!--&lt;!&ndash; <li><a class="v9" href="collection.html">我的收藏</a></li> &ndash;&gt;-->
        <!--<li><a class="v3" href="record.html">浏览记录</a></li>-->
        <!--<li><a class="v4" href="recycle.html">订单回收站</a></li>-->
    <!--</ul>-->
    <ul>
        <li><a class="v6" href="/myself/message">我的信息</a></li>
        <li><a class="v6" href="/myself/afterSale.html">售后服务</a></li>
        <li><a class="v8" href="/myself/address.html">收货地址</a></li>
        <li><a class="v9" href="/myself/help.html">帮助中心</a></li>
        <li><a class="v9" href="/myself/clear">清空缓存</a></li>
    </ul>
    <ul>
        <li><a class="v4" href="/myself/info.html">个人信息</a></li>
        <li><a class="v4" href="/myself/downinfo.html">我的下级</a></li>
    </ul>
</div><!-- //会员常用列表 -->
<div class="nav footer fixed-bar">
    <a href="/">首页</a>
    <a href="/category.html">分类</a>
    <a href="/cart/0">购物车</a>
    <a class="on" href="/myself.html">我</a>
</div><!-- //底部导航结束 -->
<script src="__STATIC__/js/zepto.min.js"></script>
<script>
    if($('.m-os button').text()==0){
        $('.m-os button').hide();
    }
</script>
</body>
</html>
